package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.domain.WOrderOpearaGood;
import com.ruoyi.system.domain.vo.WOrderOpearaGoodVO;
import com.ruoyi.system.domain.vo.WOrderOpearaVO;

/**
 * 物品库存记录Service接口
 * 
 * @author ruoyi
 * @date 2021-12-05
 */
public interface IWOrderOpearaGoodService 
{
    /**
     * 查询物品库存记录
     * 
     * @param id 物品库存记录主键
     * @return 物品库存记录
     */
    public WOrderOpearaGood selectWOrderOpearaGoodById(Long id);

    /**
     * 查询物品库存记录列表
     * 
     * @param wOrderOpearaGood 物品库存记录
     * @return 物品库存记录集合
     */
    public List<WOrderOpearaGood> selectWOrderOpearaGoodList(WOrderOpearaGood wOrderOpearaGood);
    public List<WOrderOpearaGoodVO> selectWOrderOpearaGoodListNew(WOrderOpearaGoodVO wOrderOpearaGoodVO);
    /**
     * 没入库全部退回的
     * @param wOrderOpearaGoodVO
     * @return
     */
    public R<WOrderOpearaVO> returnGoodsAll(WOrderOpearaVO wOrderOpearaVO);

    /**
     * 新增物品库存记录
     * 
     * @param wOrderOpearaGood 物品库存记录
     * @return 结果
     */
    public int insertWOrderOpearaGood(WOrderOpearaGood wOrderOpearaGood);

    /**
     * 修改物品库存记录
     * 
     * @param wOrderOpearaGood 物品库存记录
     * @return 结果
     */
    public int updateWOrderOpearaGood(WOrderOpearaGood wOrderOpearaGood);

    /**
     * 批量删除物品库存记录
     * 
     * @param ids 需要删除的物品库存记录主键集合
     * @return 结果
     */
    public int deleteWOrderOpearaGoodByIds(Long[] ids);

    /**
     * 删除物品库存记录信息
     * 
     * @param id 物品库存记录主键
     * @return 结果
     */
    public int deleteWOrderOpearaGoodById(Long id);
}
